package com.hlkj.pay.dto.merchant;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.util.List;

import javax.validation.constraints.NotNull;

import com.hlkj.pay.dto.BaseQueryDto;
import com.hlkj.pay.enums.CommonEnum;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
 * @author HlpayTeam
 * @date 2024/09/12 13:53
 */
@Data
public class MerchantAppQueryDto extends BaseQueryDto {
	
	@Schema(description = "1 运营平台 2 代理 3 商户")
	private Integer sysType;

	@Schema(description = "类型 1:特约商户 2:普通商户")
	private Integer type;
	/**
	 * 商户商户号
	 */
	@Schema(description = "商户商户号")
	private String likeSn;
	@Schema(description = "应用appid")
	private String likeAppId;
	@Schema(description = "appName")
	private String likeAppName;
	@Schema(description = "appName")
	private String appName;
	/**
	 * 商户商户号
	 */
	@Schema(description = "子商户号")
	private String subMchId;
	/**
	 * 商户商户号
	 */
	@Schema(description = "通道编码")
	private String code;
	/**
	 * 应用appid
	 */
	private String appId;
	/**
	 * 应用appid
	 */
	private List<String> appIds;
	/**
	 * 默认服务商
	 */
	private String providerCode;
	/**
	 * 默认通道
	 */
	private String channelCode;
	/**
	 * 默认通道
	 */
	@Schema(description = "支付渠道")
	private String payWayCode;
	/**
	 * 进件id
	 */
	@Schema(description = "进件id")
	private Long accessId;
	
	/**
	 * 是否启用：0-关闭；1-开启；
	 */
	@Schema(description = "是否启用：0-关闭；1-开启；")
	private Integer status;
	/**
	 * 是否默认应用
	 */
	@NotNull(message="[是否默认应用]不能为空")
	@Schema(description = "是否默认应用")
	private Integer defaultAppFlag;
	/**
	 * 进件id
	 */
	@Schema(description = "类型 1 进件 2 报备")
	private Integer accessType;
	/**
	 * 是否轮询
	 * @see com.hlkj.pay.enums.CommonEnum.YES_NO_TYPE
	 */
	@Schema(description = "是否轮询：0-是；1-否；")
	private Integer limitRouter;
	private CommonEnum.COMMON_APP_TYPE commonAppType;


	@Schema(description = "最小id")
	private Long minId;
	@Schema(description = "最大id")
	private Long maxId;




	private boolean page;

}
